Dew Math for .NET
|
Minimizes single variable function.
Parameters |
Description |
double ax |
Defines initial lower limit for minimum search. |
double bx |
Defines initial uššer limit for minimum search. |
TRealFunction Func |
Real functin of single variable (must be of TRealFunction type) to be minimized. |
[In] TMtxFloatPrecision FloatPrecision |
Specifies the floating point precision to be used by the routine. |
[In] double[] Consts |
Additional Fun constant parameters (can be/is usually nil). |
[In] object[] ObjConst |
Additional Fun constant parameters (can be/is usually nil). |
out double MinX |
Returns the position of function minimum. |
int MaxIter |
Maximum allowed numer of minimum search iterations. |
double Accuracy |
Desired minimum position tolerance. |
[In] TStrings Verbose |
If assigned, stores Func, evaluated at each iteration step. Optionally, you can also pass TOptControl object to the Verbose parameter. This allows the optimization procedure to be interrupted from another thread and optionally also allows logging and iteration count monitoring. |
the number of iterations required to reach the solution(minimum) within given tolerance.
Minimizes the function of one variable. This routine uses slightly modified version of the algol 60 procedure localmin, introduced by Richard Brent.
Problem: Find the minimum of the function of single variable by using the Brent method.
Solution:The function is defined by the following equation:
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|